package com.hr.pojo;
import java.util.Date;
public class Position {
		private Long id;		//职位id
	    private String name;	//职位名称
	    private String salary;	//职位月薪
	    private String department;		//职位部门
	    public Position(String name, String salary, String department) {
	        this.name = name;
	        this.salary = salary;
	        this.department = department;
	    }

	    /** default constructor */
	    public Position() {
	    }

	    public Long getId() {
	        return this.id;
	    }

	    public void setId(Long id) {
	        this.id = id;
	    }

	    public String getName() {
	        return this.name;
	    }

	    public void setName(String name) {
	        this.name = name;
	    }

	    public String getSalary() {
	        return this.salary;
	    }

	    public void setSalary(String salary) {
	        this.salary = salary;
	    }

	    public String getDepartment() {
	        return this.department;
	    }

	    public void setDepartment(String department) {
	        this.department = department;
	    }

	    public String toString() {
	        StringBuffer toStr = new StringBuffer();
	        toStr.append("[Position] = [\n");
	        toStr.append("    id = " + this.id + ";\n");
	        toStr.append("    name = " + this.name + ";\n");
	        toStr.append("    salary = " + this.salary + ";\n");
	        toStr.append("    department = " + this.department + ";\n");
	        toStr.append("    ];\n");
	        return toStr.toString();
	    }
}
